package cn.calm.cxf.restful.service;

import java.util.List;

import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import cn.calm.cxf.restful.api.Info;
import cn.calm.cxf.restful.api.SaleService;
@Path(value = "/sample")
@Deprecated
public class SaleServiceImpl implements SaleService {
	@GET
	@Path("/infos")
	@Produces(MediaType.TEXT_PLAIN)
	public List<Info> getInfos() {
		return null;
	}
	@GET
	@Path("/infos/{id}")
	@Produces(MediaType.TEXT_PLAIN)
	public Info getInfo(String id) {
		return null;
	}
	@POST
	@Path("/infos")
	@Produces(MediaType.TEXT_PLAIN)
	public void saveOrUpdateInfo(Info info) {

	}
	@DELETE
	@Path("/infos/{id}")
	@Produces(MediaType.TEXT_PLAIN)
	public void deleteInfo(String id) {

	}

}
